package com.dashu.school.model;


import com.dashu.base.enums.common.GenderType;
import com.dashu.base.enums.common.Status;
import com.dashu.base.enums.school.LessonType;
import com.dashu.base.enums.school.TeacherType;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "ds_company_teacher")
@Data
public class CompanyTeacher implements Serializable {
    /**
     * 教师属性
     */
    @Id
    private long id; //主键id
    private long createTime;//创建时间
    private long createUser;// 创建者
    private long updateTime;//更新时间
    private long updateUser;//更新者
    private String teacherName; //教师姓名
    @Enumerated(EnumType.STRING)
    private LessonType education; //教科
    @Enumerated(EnumType.STRING)
    private GenderType gender; //性别
    @Enumerated(EnumType.STRING)
    private TeacherType teacherType; //教师类型
    private long teacherPhone; //教师号码
    private long companyId; //所属学校
    private long departmentId; //所属部门
    private String icon; //icon
    private long attendanceId;
    private long gateId;
    @Enumerated(EnumType.STRING)
    private Status status;
}
